from rest_framework import viewsets
from .models import *
from .seriaizers import *

class StationViewSet(viewsets.ModelViewSet):
    queryset = Station.objects.all()
    serializer_class = StationSerializer



class InterviewerViewSet(viewsets.ModelViewSet):
    queryset = Interviewer.objects.all()
    serializer_class = InterviewerSerializer

class ManagesViewSet(viewsets.ModelViewSet):
    queryset = Manage.objects.all()
    serializer_class = ManagesSerializer

class JianLiViewSet(viewsets.ModelViewSet):
    queryset = JianLi.objects.all()
    serializer_class = JianLiSerializer



class JianLiViewSet(viewsets.ModelViewSet):
    queryset = JianLi.objects.all()
    serializer_class = JianLiSerializer

class ResumeStatusViewSet(viewsets.ModelViewSet):
    queryset = ResumeStatus.objects.all()
    serializer_class = ResumeStatusSerializer


class StationLogViewSet(viewsets.ModelViewSet):
    queryset = StationLog.objects.all()
    serializer_class = StationLogSerializer


